package mblog.core.persist.dao;

import mblog.core.persist.entity.AddressesPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface AddressesDao extends JpaRepository<AddressesPO, Long>, JpaSpecificationExecutor<AddressesPO> {
    List<AddressesPO> findAllByParentId(String parentId);
}
